import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { fhListComponent } from './fhList-list/fhList-list.component';
import { AuthGuardService } from '@core/auth/auth-guard.service';
import {WlpzListComponent} from "./fhList-list/edit/wlpz-list.component";
import {fhListEditComponent} from "./fhList-list/edit/fhList-edit.component";
import {jyxqListComponent} from "./fhList-list/edit/jyxq-list.component";

const routes: Routes = [
  {
    path: 'fhList',
    children: [
      { path: '', component: fhListComponent },
      { path: 'wlpz/:id/:no', component: WlpzListComponent },
      { path: 'edit/:id', component: fhListEditComponent },
      { path: 'jyxq/:id', component: jyxqListComponent }


    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class fhListRoutingModule { }
